using System;
namespace CSharpPro._0918;
public class Phone
{
    public string Brand { get; set; }
    public string Weight { get; set; }
    public int Camera { get; set; }
    public int Price { get; set; }
    public void PrintInfo()
    {
        Console.WriteLine("手机信息如下：");
        Console.WriteLine($"品牌：{Brand}");
        Console.WriteLine($"重量：{Weight}");
        Console.WriteLine($"后置摄像头像素：{Camera:N0}"); 
        Console.WriteLine($"价格：{Price}元");
    }
}